package chkui.springcore.example.javabase.conversion.entity;

public class PC extends Device {
	String cpu;
	String graphic;
	String ram;

	public String getCpu() {
		return cpu;
	}

	public String getGraphic() {
		return graphic;
	}

	public String getRam() {
		return ram;
	}

	public void setCpu(String cpu) {
		this.cpu = cpu;
	}

	public void setGraphic(String graphic) {
		this.graphic = graphic;
	}

	public void setRam(String ram) {
		this.ram = ram;
	}

	@Override
	String getName() {
		return "Person Computer";
	}

	@Override
	public String toString() {
		return "PC [cpu=" + cpu + ", graphic=" + graphic + ", ram=" + ram + ", name=Person Computer]";
	}
}
